<?php

require_once dirname(__FILE__).DIRECTORY_SEPARATOR."sys".DIRECTORY_SEPARATOR."init_cli.php";

global $__LOG, $__PARAMS;
$__LOG = null;

class SystemScheduller
{
    /**
     * Enter description here...
     *
     * @return array
     */
    static function getActiveTasks()
    {
        db()->select("SELECT ``");
    }
}



$php_command = DIRECTORY_SEPARATOR == '\\' ? 'D:\\WebServer\\xampp\\php\\php.exe -c D:\\WebServer\\xampp\\apache\\bin -f' : '/usr/bin/php -q';
$params = 'id=1';
$script = dirname(__FILE__).DIRECTORY_SEPARATOR."start_system_task.php";
$suffix = DIRECTORY_SEPARATOR == '\\' ? ' > null' : ' > null &';

exec("{$php_command} {$script} \"{$params}\"{$suffix}");

?>